"use strict";
// 该文件存放 page/component 实例（onload执行时生成，setup执行完清空）
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCurrentInstance = exports.setCurrentInstance = void 0;
var CurrentInstance = null;
/**
 * 存入 page/component 实例
 * @param target {CurrentInstance} page/component 实例
 */
function setCurrentInstance(target) {
    CurrentInstance = target;
}
exports.setCurrentInstance = setCurrentInstance;
/**
 * 获取 page/component 实例
 * @return {CurrentInstance} page/component 实例
 */
exports.getCurrentInstance = function () { return CurrentInstance; };
